# 代码结果：
    # Adapter: 调用请求
    # Adaptee: 执行特殊请求

from abc import ABC, abstractmethod

# 定义目标接口
class ITarget(ABC):
    @abstractmethod
    def request(self):
        pass

# 定义被适配者类
class Adaptee:
    def specialized_request(self):
        print("Adaptee: 执行特殊请求")

# 定义适配器类
class Adapter(ITarget):
    def __init__(self, adaptee: Adaptee):
        self.adaptee = adaptee

    def request(self):
        print("Adapter: 调用请求")
        self.adaptee.specialized_request()

# 客户端代码
class Client:
    def __init__(self, target: ITarget):
        self.target = target

    def execute_request(self):
        self.target.request()

# 客户端使用示例
if __name__ == "__main__":
    adaptee = Adaptee()
    adapter = Adapter(adaptee)
    client = Client(adapter)
    client.execute_request()